﻿using System;
using System.Collections.Generic;
using System.Data.OleDb;
using System.Linq;
using System.Text;

namespace Students
{
    public class AccessBase
    {
        public string DbPath = System.Web.HttpContext.Current.Server.MapPath("~/App_Data/students.mdb");
        public OleDbConnection cnn;
        public AccessBase()
        {
            cnn = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + DbPath + ";Persist Security Info=True");
        }
    }
}
